<!--头部-->
<div class="header">
    <div class="container">
        <span class="glyphicon glyphicon-phone"></span>
        <a href="javsscript:;" [routerLink]="['./login']" *ngIf="!user">登录/免费注册</a>
        <a href="javsscript:;" [routerLink]="['./user/editor/personaldata']" *ngIf="user">{{user.NickName}}</a>
        <a href="javsscript:;" *ngIf="user" (click)="logout()">退出</a>
        <div class="pull-right">
            <a href="#" class=" messageCenter">消息中心</a>
            <span href="#">客服热线 0571-1234567</span>
        </div>
    </div>
</div>
<!--导航-->
<div class="navigation">
    <div class="container">
        <div class="pull-left hidden-xs">
            <img class="logo-img" src="assets/image/logo.jpg" alt="k易" />
        </div>
        <ul class="nav pull-right">
            <li routerLinkActive="active" [routerLinkActiveOptions]="{exact: true}"><a [routerLink]="['/index']">首页</a></li>
            <li routerLinkActive="active"><a [routerLink]="['/index/market']">行情中心</a></li>
            <li routerLinkActive="active"><a [routerLink]="['/index/news']">新闻资讯</a></li>
            <li routerLinkActive="active"><a [routerLink]="['/index/calendar']">财经日历</a></li>
            <li><a href="#">智能投顾</a></li>
            <li><a href="#">开户</a></li>
        </ul>
    </div>
</div>
